#include<bits/stdc++.h>

using namespace std;

//多返回值函数
bool root2(double a, double b, double c, double *x1, double *x2) {
    double delta = b * b - 4 * a * c;
    if (delta < 0)return false;

    *x1 = (-b + sqrt(delta)) / (2 * a);
    *x2 = (-b - sqrt(delta)) / (2 * a);
    return true;
}

int main() {
    double a, b, c;
    cin >> a >> b >> c;

    bool hasRoot;

    double x1, x2;

    hasRoot = root2(a, b, c, &x1, &x2);

    if (hasRoot) {
        printf("r1=%7.2f\nr2=%7.2f\n", x1, x2);
    } else {
        cout << "No solution" << endl;
    }


    return 0;
}